<template>
  <div>
    <!-- 头部组件 -->
    <header-card></header-card>
    <!-- 中间 -->
    <middle></middle>
  </div>
</template>

<script>
import HeaderCard from './header'
import Middle from './middle'
export default {
  name: 'Dashboard',
  components:{HeaderCard,Middle},
  mounted(){
    // 发送请求获取mock数据
    this.$store.dispatch('getMockData')
  }
}
</script>

<style scoped>

</style>
